require.config({
    baseUrl : '/',
    paths:{
        // 配置模块路径---路径文件名不能写后缀
        header : 'js/modules/header',
        footer : 'js/modules/footer',
        jquery : 'libs/jquery/jquery-3.4.1.min',
        swiper : 'libs/swiper/js/swiper.min',
        bootstrap : 'libs/bootstrap/js/bootstrap.min',
        elevatezoom : 'libs/jquery/jquery.elevateZoom-3.0.8.min',
        template : 'libs/art-template/template-web',
        url : 'js/modules/url',
        fly : 'libs/jquery/jquery.fly.min',
        cookie : 'libs/jquery/jquery.cookie',
        slideVerify : 'libs/slideVerify/jquery-slideVerify'
    },
    //垫片，给一些不满足AMD规范又要依赖别的模块的模块写垫片
    shim : {
        bootstrap : {
            deps: ['jquery']
        },
        elevatezoom : {
            deps: ['jquery']
        },
        cookie : {
            deps: ['jquery']
        },
        fly : {
            deps: ['jquery'] 
        },
        slideVerify : {
            deps: ['jquery']
        }
    }
})